<template>
  <div class="order-detail">
    <Row>
      <i-col span="3" class="keyStyle">
      ID:</i-col>
      <Col span="9">
      {{detail.id}}</Col>
      <Col span="3" class="keyStyle">
      商户号:</Col>
      <Col span="9">
      {{ detail.cusid}}</Col>
    </Row>
    <Row>
      <Col span="3" class="keyStyle">
      应用号:</Col>
      <Col span="9">
      {{ detail.appid}}</Col>
      <Col span="3" class="keyStyle">
      订单号:</Col>
      <Col span="9">
      {{ detail.reqsn}}</Col>
    </Row>
    <Row>
      <Col span="3" class="keyStyle">
      交易额(分):</Col>
      <Col span="9">
      {{ detail.trxamt}}</Col>
      <Col span="3" class="keyStyle">
      body:</Col>
      <Col span="9">
      {{ detail.body}}</Col>
    </Row>
    <Row>
      <Col span="3" class="keyStyle">
      version:</Col>
      <Col span="9">
      {{ detail.version}}</Col>
      <Col span="3" class="keyStyle">
      createdate:</Col>
      <Col span="9">
      {{ detail.createdate}}</Col>
    </Row>
    <Row>
      <Col span="3" class="keyStyle">
      paytype:</Col>
      <Col span="9">
      {{ detail.paytype}}</Col>
      <Col span="3" class="keyStyle">
      notify_url:</Col>
      <Col span="9">
      {{ detail.notify_url}}</Col>
    </Row>
    <Row>
      <Col span="3" class="keyStyle">
      remark:</Col>
      <Col span="9">
      {{ detail.remark}}&nbsp;</Col>
      <Col span="3" class="keyStyle">
      sign:</Col>
      <Col span="9">
      {{detail.sign}}</Col>
    </Row>
    <Row>
      <i-col span="3" class="keyStyle">
      limit_pay:</i-col>
      <i-col span="9">
      {{ detail.limit_pay}}&nbsp;</i-col>
      <i-col span="3" class="keyStyle">
      validtime:</i-col>
      <i-col span="9">
      {{ detail.validtime}}&nbsp;</i-col>
    </Row>
  </div>
</template>

<script>
  export default{
    name: 'orderDetail',
    data () {
      return {
        value: null
      }
    },
    props: {
      detail: {
        type: Object,
        default: ''
      }
    }
  }
</script>

<style>
  .order-detail {
    font-size: 13px;
    line-height: 28px;
    overflow:auto
  }

  .keyStyle {
    font-weight: bold;
    font-size: 14px;
  }

</style>
